package com.dayuanit.dy8.mall.springbootmall.service;

import com.dayuanit.dy8.mall.springbootmall.dto.CommonDTO;
import com.dayuanit.dy8.mall.springbootmall.entity.CommodityWithBLOBs;

import java.util.List;

public interface CommonService {

    CommodityWithBLOBs loadCommon(int commonId);

    List<CommonDTO> loadBuyCommon(int commonId, int buyNum);
}
